package com.geekaca.d4.work1;

import java.time.LocalDate;

public class Test4 {
    public static void main(String[] args) {
        output23();
    }

    public static void output23() {
        LocalDate now = LocalDate.now();
        System.out.println("当前日期: " + now);
        for (int i = 0; i < 5; i++) {
            now = now.plusDays(23);
            System.out.printf("第%s个23天后的日期为: %s", i + 1, now);
            System.out.println();
        }
    }
}
